package com.internetCafes.spms.web.certificate.model.vo.airecognize;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 批量识别后批量保存返回
 *
 * @author Zj
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RecognizeBatchSaveVO {

    private Integer successAmount = 0;

    private Integer errorAmount = 0;

    private List<ErrorInfo> errorList = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public class ErrorInfo{
        private String certificateNo;

        private String cause;
    }

}
